package com.yq.leetcodeOld.tree;

/**
 * @ClassName Test
 * @Description TODO
 * @Author yaoqiang
 * @Date 2022/4/7 9:31
 * @Version 1.0
 */




/*public class Test {
    public static void main(String[] args) {
        //pratice tree
        List<TreeNode> res =new ArrayList<>();
        preOrder(res,root);
        return res;
    }

    public static void preOrder(List<TreeNode> res ,TreeNode root) {
        if(root==null){
            return;
        }
        res.add(root.val);
        preOrder(root.left);
        preOrder(root.right);  postOrder
    }
}*/
